package ooday02;
/** 动物家族的测试类 */
public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("大黑",2,"黑");
        dog.lookHome();   //Dog类重写之后的
        dog.eat();        //复用Animal类的
        dog.drink();//Dog类所所特有的
        dog.Swim();

    }
}
